package com.ikun.yummy.manager;

import android.content.Context;

import com.ikun.yummy.bean.LikeInfo;
import com.ikun.yummy.sourceop.op.LikeOP;

import java.util.List;

public class LikeOpManager {
    private final LikeOP likeOP;
    public LikeOpManager(Context context){
        likeOP = new LikeOP(context);
    }
    public List<LikeInfo> insert(LikeInfo likeInfo){
      return likeOP.insert(likeInfo);
    }

    public List<LikeInfo> query(String cookid,String username){
        return likeOP.query(cookid,username);
    }
    public void delete(String cookid) {
        likeOP.delete(cookid);
    }
}
